package com.lightsh.tuple;

public class TestPattern<T extends Runnable> {

	private T mRun;	
	public TestPattern(T a){
		mRun = a;
	}	
	public void run(){
		mRun.run();
	}
	
	
	public static void main(String[] args){
		TestB b = new TestB();
		TestPattern<TestB> test = new TestPattern<TestB>(b);
		test.run();
	}
}
